<!-- BEGIN CONTENT -->
<div class="col-md-12 col-sm-12">
  <h1>Thanh toán</h1><?php
    echo form_open(null,array(
        'role'=>'form'
      ));
    echo validation_errors();
  ?>
  <!-- BEGIN CHECKOUT PAGE -->
  <div class="panel-group checkout-page accordion scrollable" id="checkout-page">

    <!-- BEGIN SHIPPING ADDRESS -->
    <div id="shipping-address" class="panel panel-default">
      <div class="panel-heading">
        <h2 class="panel-title">
          <a data-toggle="collapse" data-parent="#checkout-page" href="#shipping-address-content" class="accordion-toggle">
            Bước 1: Thông tin người nhận
          </a>
        </h2>
      </div>
      <div id="shipping-address-content" class="panel-collapse collapse in">
        <div class="panel-body row">
          <div class="col-md-6 col-sm-6">
            <div class="form-group">
              <label for="firstname-dd">Tên khách hàng <span class="require">*</span></label><?php
              echo form_input(array(
                'name'=>'ten-khach-hang','value'=>set_value('ten-khach-hang'),
                'class'=>'form-control','required'=>'required',
                'placeholder'=>'Tên Khách Hàng'
              ));
              echo form_error('ten-khach-hang');
            ?></div>
            <div class="form-group">
              <label for="email-dd">Điện thoại <span class="require">*</span></label><?php
              echo form_input(array(
                'name'=>'sdt','value'=>set_value('sdt'),
                'class'=>'form-control','required'=>'required',
                'placeholder'=>'Số điện thoại'
              ));
              echo form_error('sdt');
            ?></div>
          </div>
          <div class="col-md-6 col-sm-6">
            <div class="form-group">
              <label>Địa chỉ email</label><?php
              echo form_input(array(
                'name'=>'email','value'=>set_value('email'),
                'class'=>'form-control',
                'placeholder'=>'Địa chỉ email'
              ));
              echo form_error('email');
            ?></div>
            <div class="form-group">
              <label>Địa chỉ <span class="require">*</span></label><?php
              echo form_input(array(
                'name'=>'dc','value'=>set_value('dc'),
                'class'=>'form-control','required'=>'required',
                'placeholder'=>'Địa chỉ'
              ));
              echo form_error('dc');
            ?></div>
          </div>
          <div class="col-md-12">
            <div class="form-group">
              <label for="city-dd">Ghi Chú </label>
              <textarea class="form-control" name="detail"></textarea>
            </div>
          </div>
          <div class="col-md-12">
            <button class="btn btn-primary  pull-right" type="submit" id="button-shipping-address" data-toggle="collapse" data-parent="#checkout-page" data-target="#confirmsad">Tiếp </button>
          </div>
        </div>
      </div>
    </div>
    <!-- END SHIPPING ADDRESS -->

  </div><?php
  echo form_close();
  ?>
  <!-- END CHECKOUT PAGE -->
</div>
<!-- END CONTENT -->
</div>